<div class="application-header clearfix">
	<div class="pull-left logo-group">
		<i class="logo"></i>
		<!-- <span class="arrow-right"></span> -->
	</div>
	<div class="pull-left current">
		<h2>APM</h2>
		<p>应用性能管理</p>
	</div>
	<ul class="pull-right input-append clearfix">

		<li class="application-user pull-left">
			<div class="application-user-container clearfix">
				<div class="pull-left">
					{{#link-to "main.user" class="pull-left"}}<i class="iconfont icon-user-style icon-user-header"></i>{{/link-to}}
				</div>
				
				<div class="username pull-left username-style" >{{auth.user.name}}</div>
			</div>
			<ul class="logout">
				<li title="退出" {{action 'logout'}}>退出</li>
			</ul>
		</li>
	</ul>
</div>
<div {{bind-attr class=":application-content hideLeft:hideLeft"}}>
	<div class="application-left">
		<div class="application-border"></div>
		<ul class="nav nav-list application-menu">
			<li>{{#link-to "business.overview"}}<i class="iconfont icon-autozonglan"></i><p>交易总览</p>{{/link-to}}</li>
			<li>{{#link-to "business.center"}}<i class="iconfont icon-fuwujiedian"></i><p>业务中心</p>{{/link-to}}</li>
			<li>{{#link-to "service.server.follow"}}<i class="iconfont icon-xfuwujiedian"></i><p>服务节点</p>{{/link-to}}</li>
			<li>{{#link-to "alarm.alertplatform"}}<i class="iconfont icon-xgaojingtai"></i><p>告警台</p><span class="badge">{{wargingNum}}</span>{{/link-to}}</li>
			<li>{{#link-to "form.navigation"}}<i class="iconfont icon-baobiao"></i><p>统计报表</p>{{/link-to}}</li>
		</ul>
		<div class="flex flex-line"><a id="flex" href="javascript:" class="application-btn-fold-left"><i class="iconfont icon-angleleft"></i></a></div>
		<ul  class="nav nav-list application-menu" style="position:absolute;left:0;bottom:72px;width:100%">
			{{#if auth.isAdmin}}
				<li>{{#link-to "config.index"}}<i class="iconfont icon-autopeizhi"></i><p>管理配置</p>{{/link-to}}</li>
			{{/if}}
			
		</ul>
		<div class="application-help">
	<a target="apm-help" href="/help/_book/index.html" title="帮助"><i class="iconfont icon-mbangzhu"></i><p>帮助手册</p></a>
</div>
	</div>
	<div class="application-main">
		<div class="application-box application-main-box">{{outlet}}</div>
		{{outlet "extra"}}
	</div>
</div>